home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / FileIsOpen 1.2 (US) / FileIsOpen 1.2 (US).rsrc / HELP_5635 next >
Encoding:
Text File  |  1996-01-09  |  2.2 KB  |  57 lines

  1.  
  2.  
  3.                                             FileIsOpen 1.2
  4.  
  5.                                           by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   FileIsOpen allows to test if a file is already open or not.
  9.  
  10. SYNTAX
  11.                                          FileIsOpen <File path>
  12.  
  13. PARAMETERS
  14.    <File path> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  15.  
  16.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  17.  
  18. USING
  19.    The XFCN return "true" is the file is open, "false" if not.
  20.  
  21. ERRORS
  22.    If an error occurs, FileIsOpen can return :
  23.      "Error : Not a file"
  24.      "Error : Not a folder"
  25.      "Error : Alias file not supported"
  26.      "Error : Volume not found"
  27.      "Error : Bad Name"
  28.      "Error : File not found"
  29.      "Error : Folder not found"
  30.      "Error : File is busy"
  31.      "Error : I/O Error"
  32.      "Error : Folder is full"
  33.      "Error : Volume is locked"
  34.      "Error : No resource fork"
  35.      "Error : Duplicate file/folder name"
  36.      "Error : Moving whole volume not allowed"
  37.      "Error : Not an AppleShare volume"
  38.      "Error : AppleShare insufficient privileges"
  39.      "Error : Missing or empty parameter"
  40.  
  41. HISTORY
  42. 1.2                                                                                         12/25/91
  43. • Fixed alias file bug under System 7.0.1
  44.                                                                                          
  45. 1.1                                                                                         08/04/91
  46. • Added support for System 7.0 alias files
  47. • General enhancement of the code
  48. • Added "=" param for online help
  49. --------------------------------------------------------------------
  50.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  51.  
  52.                    FileIsOpen XFCN, © Frederic Rinaldi, 1989…1993.
  53.  
  54.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  55.  
  56. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  57.                Internet : RINALDI1@APPLELINK@APPLE.COM